html {
  scroll-behavior: smooth;
}
/* utility classes 实用通用类 */
.text-primary {
  color: #93cb52;
}
.long-shadow {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  padding: 25px;
  border: none;
  font: normal 60px/1 "Fredoka One", Helvetica, sans-serif;
  color: #ffffff;
  text-align: center;
  -o-text-overflow: clip;
  text-overflow: clip;
  text-shadow: 3px 3px 0 #0199d9, 4px 4px 0 #0199d9, 5px 5px 0 #0199d9, 6px 6px 0 #0199d9, 7px 7px 0 #0199d9, 8px 8px 0 #0199d9, 9px 9px 0 #0199d9, 10px 10px 0 #0199d9, 11px 11px 0 #0199d9, 12px 12px 0 #0199d9, 13px 13px 0 #0199d9, 14px 14px 0 #0199d9, 15px 15px 0 #0199d9, 16px 16px 0 #0199d9, 17px 17px 0 #0199d9, 18px 18px 0 #0199d9, 19px 19px 0 #0199d9, 20px 20px 0 #0199d9;
}
.l-heading {
  font-size: 3vw;
  margin-bottom: 30px;
  line-height: 1.1;
}
.m-heading {
  font-size: 2rem;
  margin: 0.75rem;
  line-height: 1.1;
}
/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  background-color: #2d66b6;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 8;
  padding: 1rem;
  ul {
    display: flex;
    color: #fff;
    align-items: center;
    a {
      color: #ffffff;
      padding: 0.75rem;
      margin: 0 0.25rem;
      &:hover {
        background-color: #93cb52;
        border-radius: 5px;
      }
    }
  }
}
/* 这里是home页面的样式 */
#home {
  background: url("../img/home1.png") no-repeat center center / cover;
  height: 80vh;
  color: #fff;
  position: relative;
  .home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    align-items: center;
    padding: 0 2rem;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
  }
}
/* go-train-btn */
.go-train-btn {
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  padding: 0.7em 2em;
  border: 3px solid #bbff00;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
  color: #00ff5e;
  text-decoration: none;
  transition: 0.3s ease all;
  z-index: 1;
  &:before {
    transition: 0.5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: '';
    background-color: #b3ff00;
    z-index: -1;
  }
  &:active {
    transform: scale(0.9);
  }
}
.go-train-btn:hover,
.go-train-btn:focus {
  color: #000000;
}
.go-train-btn:hover:before,
.go-train-btn:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}
/* who */
.who-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 20px;
}
/* card */
.card {
  position: relative;
  width: 100%;
  height: 320px;
  background: #ccecea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
  .text-content {
    width: 50%;
    font-size: 12px;
    padding: 10px;
    z-index: 1;
    color: #000000;
    .title {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 10px;
    }
  }
  &::before {
    top: 0;
    right: 0;
    border-radius: 0 0px 0 100%;
  }
  &::after {
    bottom: 0;
    left: 0;
    border-radius: 0 100% 0 0px;
  }
}
.card::before,
.card::after {
  position: absolute;
  content: "";
  width: 20%;
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: bold;
  background: #50e4ee;
  transition: all 0.5s;
  z-index: 0;
}
.card:hover::before,
.card:hover::after {
  width: 100%;
  height: 100%;
  transition: all 0.5s;
}

#zz {
  width: 100%;
  // 图片容器样式

 .image-container {
    // display: flex;
    // text-align: center;


    margin: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* 格子之间的间距 */
    /* 其他样式属性，例如背景颜色、边框等 */
    // justify-content: center;
    border: 1px solid #ccc;
    justify-items:center;
    align-items: center; 
    // text-align: center;
    padding: 28px;
    
    .zzcard {
      box-sizing: border-box;
      width: 100%;
      max-width: 390px;
      height: 560px;
      padding: 16px;
      background: rgba(217, 217, 217, 0.58);
      border: 1px solid white;
      box-shadow: 12px 17px 51px rgba(0, 0, 0, 0.22);
      backdrop-filter: blur(6px);
      border-radius: 17px;
      text-align: center;
      cursor: pointer;
      transition: all 0.5s;
      display: flex;
      align-items: center;
      justify-content: center;
      user-select: none;
      font-weight: bolder;
      color: black;
      &:hover {
        border: 1px solid black;
        transform: scale(1.05);
      }
      
      &:active {
        transform: scale(0.95) rotateZ(1.7deg);
      }
      span {
        position: absolute;
        overflow: hidden;
        width: 150px;
        height: 150px;
        top: -10px;
        left: -10px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      span::before {
        content: '营业执照';
        position: absolute;
        width: 150%;
        height: 38px;
        background-image: linear-gradient(45deg, #ff6547 0%, #ffb144  51%, #ff7053  100%);
        transform: rotate(-45deg) translateY(-20px);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        box-shadow: 0 5px 10px rgba(0,0,0,0.23);
      }
      
      span::after {
        content: '';
        position: absolute;
        width: 10px;
        bottom: 0;
        left: 0;
        height: 10px;
        z-index: -1;
        box-shadow: 120px -120px #cc3f47;
        background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
      }
      img {
        width: 100%;
        max-width: 380px;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      }
    }
    
    
  }
  
  // 图片样式
 .image-container .rotate-hor-center {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    
  
    -webkit-animation: rotate-hor-center 0.5s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
            animation: rotate-hor-center 0.5s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;

  // 定义动画
  @-webkit-keyframes rotate-hor-center {
    0% {
      -webkit-transform: scale(1) rotateX(0);
              transform: scale(1) rotateX(0);
    }
    50% {
      -webkit-transform: scale(2.5) rotateX(-90deg);
              transform: scale(2.5) rotateX(-90deg);
    }
    100% {
      -webkit-transform: scale(1) rotateX(-180deg);
              transform: scale(1) rotateX(-180deg);
    }
  }
  @keyframes rotate-hor-center {
    0% {
      -webkit-transform: scale(1) rotateX(0);
              transform: scale(1) rotateX(0);
    }
    50% {
      -webkit-transform: scale(2.5) rotateX(-180deg);
              transform: scale(2.5) rotateX(-180deg);
    }
    100% {
      -webkit-transform: scale(1) rotateX(-360deg);
              transform: scale(1) rotateX(-360deg);
    }
  }
}
    
  
}


#down {
  background: linear-gradient(to right, #94e3fd, white);
}
.down-title {
  width: 90%;
  font-size: clamp(20px, 2.5vw, 50px);
  font-weight: bold;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 20px;
  padding-left: 100px;
  padding-right: 100px;
  color: #000000;
  box-sizing: border-box;
  border-bottom: 1px solid #cacaca;
  text-shadow: 1px 0px 1px #ffffff, 0px 1px 1px #eeeeee, 2px 1px 1px #ffffff, 1px 2px 1px #ffffff, 3px 2px 1px #ffffff, 2px 3px 1px #ffffff, 4px 3px 1px #cccccc, 3px 4px 1px #eeeeee, 5px 4px 1px #cccccc, 4px 5px 1px #eeeeee, 6px 5px 1px #cccccc, 5px 6px 1px #eeeeee, 7px 6px 1px #cccccc, -11px 9px 1px rgba(206,89,55,0.04);
  margin: 0 auto;
}

.down-parent {
  width: 100%;
  display: flex;
  margin-top: 30px;
  .left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    .down-cards {
      display: flex;
      flex-direction: row;
      gap: 1vw;
      padding: 1vw;
      .one {
        background-color: #007e9e;
      }
      .two {
        background-color: #0062ff;
      }
      .three {
        background-color: #18cd5e;
      }
      .down-carditm {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        border-radius: 10px;
        color: white;
        cursor: pointer;
        transition: 400ms;
        max-width: 200px;
        &:hover {
          transform: scale(1.2, 1.2);
        }
      }
      &:hover {
        .down-carditm {
          &:not(:hover) {
            filter: blur(10px);
            transform: scale(0.9, 0.9);
          }
        }
      }
    }
    .card2 {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      font-weight: 700;
      padding: 30px 8px;
      color: #ffffff;
      border-radius: 45px;
      .header {
        margin-top: 5vw;
      }
    }
    .app-icon {
      pointer-events: none;
      width: 70%;
      height: auto;
    }
    .App-button {
      padding: 10px 20px;
      background-color: transparent;
      color: #ffffff;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      font-size: 15px;
      border: 3px solid #ffffff;
      border-radius: 5em;
      margin-top: 20px;
      margin-bottom: 2vw;
      transition: 0.2s;
      &:hover {
        color: #191e24;
        background-color: #ffe052;
      }
    }
  }
  .right {
    width: 50%;
    display: flex;
    img {
      width: 100%;
      height: auto;
      object-fit: cover;
      margin: auto;
    }
  }
}
/* footer */
#main-footer {
  text-align: center;
  background-color: #4274b2;
  color: #fff;
  padding: 30px 0;

}
